This is part of my tutorial on how to use Google Maps into Google's Blogger service. This section teaches how to embedded multiple maps into your blog.
Step 1 - Build 1 map:
It is not difficult. First, get one map up and running in your blog, based on the the chapter for embedded maps. Then it is simply a matter of adding a little additional content.
Step 2 - Update the template:
You need to modify the startup and shutdown javascript routine to check for every map in your blog. I've named each map in my blog "google_map_xx" where xx is 01 for the first map, 02 for the second, and so on. Take a look at the startup logic for this blog.
Step 3 - Build a post with a map
Then build a blog posting that contains a map. A single post can contains multiple maps, like this one. Each post that contains 1 or maps must start with the following HTML
Then for each map, insert the following HTML into the post where you want the map to show up. Repleace each occurance of "google_map_xx" with the map number you are building, such as "google_map_02".
Step 4: That's it!
This post contains two maps. The first is a map of monterey
Here is map of London, England.
No comments:
Post a Comment